package com.lkxicy.wos.service;

import com.lkxicy.wos.mapper.HolidayMapper;
import com.lkxicy.wos.pojo.entity.Holiday;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lkxicy.wos.pojo.vo.HolidayRecord;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lkxicy
 * @since 2020-12-02
 */
public interface HolidayService extends IService<Holiday> {

    public String askForHoliday(Holiday holiday);

    public String permitOrRejectHoliday(int id,int approval);

    public List<HolidayRecord> searchAllHolidayApply();

    public List<HolidayRecord> searchOneHolidayRecord(String staffNumber);

}
